package rs.dalao.syc.passport.dao.persist.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;
import rs.dalao.syc.passport.pojo.entity.Doctor;
import rs.dalao.syc.passport.pojo.entity.User;
import rs.dalao.syc.passport.pojo.vo.LoginInfoVO;
import rs.dalao.syc.passport.pojo.vo.LoginRegVO;

@Repository
public interface UserMapper extends BaseMapper<User> {
    //查询登录信息
    LoginInfoVO getInfo(String userName);

    //查询注册信息
    LoginRegVO getRegInfo(String userName);

    //根据电话查找用户是否存在
    LoginInfoVO getInfoByPhone(String phone);
}

